package trading_strategy.markets;

import trading_strategy.instruments.ListedInstrument;

/**
 * Created by IntelliJ IDEA.
 * User: gderoujoux
 * Date: 6 mai 2010
 * Time: 11:01:23
 * To change this template use File | Settings | File Templates.
 */
public class ZeroTransactionCosts implements ITransactionCosts {
    @Override
    public double getCost(ListedInstrument instrument, int qty) {
        return Math.abs(qty) * 2;
    }
}
